# -*- coding: utf-8 -*-

if __name__ == '__main__':
    test_file = "./test.txt"
    file_obj = open(test_file, 'r')
    lines = file_obj.readlines()
    # file_obj.close()
    print type(lines)
    for line in lines:
        print line
    file_obj.close()
    print "==============="
    for i, line in enumerate(lines):
        print i,line